package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * stock对象 pur_stockmanage
 * 
 * @author bhl
 * @date 2022-04-09
 */
public class PurStockmanage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 产品id */
    @Excel(name = "产品id")
    private Integer productid;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private Integer hospital;

    /** 进货量 */
    @Excel(name = "进货量")
    private String stock;

    /** 进货金额 */
    @Excel(name = "进货金额")
    private String stocknum;

    /** 进货合计 */
    @Excel(name = "进货合计")
    private String stocktotal;

    /** 出货量 */
    @Excel(name = "出货量")
    private String shipment;

    /** 出货金额 */
    @Excel(name = "出货金额")
    private String shipmentnum;

    /** 出货合计 */
    @Excel(name = "出货合计")
    private String shipmenttotal;

    /** 余量 */
    @Excel(name = "余量")
    private String allowance;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    public Integer getHospital() {
        return hospital;
    }

    public void setHospital(Integer hospital) {
        this.hospital = hospital;
    }

    public void setStock(String stock)
    {
        this.stock = stock;
    }

    public String getStock() 
    {
        return stock;
    }
    public void setStocknum(String stocknum) 
    {
        this.stocknum = stocknum;
    }

    public String getStocknum() 
    {
        return stocknum;
    }
    public void setStocktotal(String stocktotal) 
    {
        this.stocktotal = stocktotal;
    }

    public String getStocktotal() 
    {
        return stocktotal;
    }
    public void setShipment(String shipment) 
    {
        this.shipment = shipment;
    }

    public String getShipment() 
    {
        return shipment;
    }
    public void setShipmentnum(String shipmentnum) 
    {
        this.shipmentnum = shipmentnum;
    }

    public String getShipmentnum() 
    {
        return shipmentnum;
    }
    public void setShipmenttotal(String shipmenttotal) 
    {
        this.shipmenttotal = shipmenttotal;
    }

    public String getShipmenttotal() 
    {
        return shipmenttotal;
    }
    public void setAllowance(String allowance) 
    {
        this.allowance = allowance;
    }

    public String getAllowance() 
    {
        return allowance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productid", getProductid())
            .append("hospital", getHospital())
            .append("stock", getStock())
            .append("stocknum", getStocknum())
            .append("stocktotal", getStocktotal())
            .append("shipment", getShipment())
            .append("shipmentnum", getShipmentnum())
            .append("shipmenttotal", getShipmenttotal())
            .append("allowance", getAllowance())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
